/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package IO;

/**
 *
 * @author Eagle
 */
public class constClass {

    public int totalPre,totalSlot,totalConn,
            gluPre,gluConn,gabaConn,dgrp,tgrp,qgrp;

    constClass(int DGrp,int TGrp, int QGrp,
            int GluConn,int GABAConn,double ratio){
        totalPre=2*DGrp+3*TGrp+4*QGrp;
        gluPre=(int)Math.rint(totalPre*ratio);
        totalSlot=DGrp*2+TGrp*6+QGrp*12;
//        dp(dgrp+","+tgrp+","+qgrp+","+nTotalSlot);
        totalConn=GluConn+GABAConn;
        dgrp=DGrp;
        tgrp=TGrp;
        qgrp=QGrp;
        gluConn=GluConn;
        gabaConn=GABAConn;

    }

    int totalPre(){
        return totalPre;
    }

    int gluPre(){
        return gluPre;
    }

    int totalSlot(){
        return totalSlot;
    }

    int gluConn(){
        return gluConn;
    }

    int gabaConn(){
        return gabaConn;
    }

    int dgrp(){
        return dgrp;
    }

    int tgrp(){
        return tgrp;
    }

    int qgrp(){
        return qgrp;
    }

    int totalConn(){
        return totalConn;
    }
}
